import request from "@/utils/axios";

export function extractPackageNames(data) {
    return request({
        path: "/node/webhook/extractPackageNames",
        data
    });
}
export function getSubsByPkgName(data) {
    return request({
        path: "/node/webhook/getSubsByPkgName",
        data
    });
}
export function getSubsByPkgNameMOMO(data) {
    return request({
        path: "/node/webhook/getSubsByPkgNameMOMO",
        data
    });
}
export function getStorefrontList(data) {
    return request({
        path: "/node/webhook/getStorefrontList",
        data
    });
}
export function getDataListAll(data) {
    return request({
        path: "/node/webhook/getSubsByPkgNameAll",
        data,
    });
}
export function calculateDailySuccessfulPayments(data) {
    return request({
        path: "/node/webhook/calculateDailySuccessfulPayments",
        data,
    });
}
export function calculateDailySuccessfulRefunds(data) {
    return request({
        path: "/node/webhook/calculateDailySuccessfulRefunds",
        data,
    });
}
export function calculateConversionRate(data) {
    return request({
        path: "/node/webhook/calculateConversionRate",
        data,
    });
}
export function calculateDailyDirectPurchases(data) {
    return request({
        path: "/node/webhook/calculateDailyDirectPurchases",
        data,
    });
}
export function calculateInitialBuysWithFreeTrial(data) {
    return request({
        path: "/node/webhook/calculateInitialBuysWithFreeTrial",
        data,
    });
}
export function getWeeklyRenewalRatesByPk(data) {
    return request({
        path: "/node/webhook/getWeeklyRenewalRatesByPk",
        data,
    });
}
export function getWeeklyRenewalRatesByPkNew(data) {
    return request({
        path: "/node/webhook/getWeeklyRenewalRatesByPkNew",
        data,
    });
}
export function uploadExcel(data) {
    return request({
        path: "/node/webhook/uploadExcel",
        data,
    });
}
export function calculateDailyNewUsers(data) {
    return request({
        path: "/node/webhook/calculateDailyNewUsers",
        data,
    });
}

export function calculateTrialConversionRate(data) {
    return request({
        path: "/node/webhook/calculateTrialConversionRate",
        data,
    });
}
export function newUserSubscriptionRateThreeDaysLater(data) {
    return request({
        path: "/node/webhook/newUserSubscriptionRateThreeDaysLater",
        data,
    });
} 
export function getRefundByPkgName(data) {
    return request({
        path: "/node/webhook/getRefundByPkgName",
        data,
    });
} 
export function getHistoryList(data) {
    return request({
        path: "/node/webhook/getHistoryList",
        data,
    });
} 
export function getPkList(data) {
    return request({
        path: "/node/webhook/getPkList",
        data,
    });
}

 